#ifndef tk_filesystem_h__
#define tk_filesystem_h__

#include "tk_data_type.h"
#include <vector>

namespace tk
{

tk_bool PathExist(QString path);
tk_bool PathCreate(QString path);
tk_bool PathCreateFromFilePath(QString path);
tk_bool PathDelete(QString path);
tk_bool FileDelete(QString path);

tk_bool FileCopy(QString from_path, QString to_path);
tk_bool FileRename(QString old_name, QString new_name);

tk_bool WriteBinaryFile(QString path, std::vector<tk_uchar> & data);
tk_bool ReadBinaryFile(QString path, std::vector<tk_uchar> & data);

void FlushFileToDisk(QString file_path);

}//namespace tk

#endif // tk_filesystem_h__
